package com.lanlian.commonlib.common;

import java.io.Serializable;

/**
 * <pre>
 *     author : huxiaobo
 *     e-mail : huxiaobo@xlanlian.com
 *     date   : 2018/9/29 16:26
 *     desc   : todo
 *     version: 1.0
 * </pre>
 */
public class RabbitMqConfig implements Serializable {

    private String ip;
    private String user;
    private String password;
    private int port;

    public RabbitMqConfig(String ip, String user, String password, int port) {
        this.ip = ip;
        this.user = user;
        this.password = password;
        this.port = port;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }
}
